package com.zwh.service;

import com.zwh.dao.EmployeeDao;
import com.zwh.entity.Employee;

import java.util.List;

public interface EmployeeService {
    //员工列表方法
    List<Employee> lists();
    //保存员工信息
    void save(Employee employee);
    //更具id查询一个员工
    Employee findById(Integer id);

    void update(Employee employee);

    void delete(Integer id);
}
